//Naming
Name Challenger II Detailed
ShortName Chally3
//Visuals
Icon Chally3
Model bmp.Challenger3
Texture Challenger3
//Third Person Camera Distance
CameraDistance 11.5
//Throttle
MaxThrottle 1.0
MaxNegativeThrottle 0.5
//Steering modifiers
TurnLeftSpeed 0.5
TurnRightSpeed 0.5
//Drag
Drag 10.0
//For calculating whether wheels are on the ground or not for driving
WheelRadius 1.5
//Wheel positions for collision handling. Tanks still have 4 wheels, they are just the corner ones.
WheelPosition 0 -51 -10 -33
WheelPosition 1 -51 -10 33
WheelPosition 2 56 -10 33
WheelPosition 3 56 -10 -33
WheelSpringStrength 0.5
//If true, then all wheels will apply drive forces
FourWheelDrive true
//Tank mode activate
Tank true
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 2000
// ------------------------------------------------------ Weaponry -----------------------------------------------------
//Weapon types. Options are Missile, Bomb, Gun, Shell, None
Primary Shell
Secondary Gun
//Time between shots in 1/20ths of seconds
ShootDelayPrimary 70
ShootDelaySecondary 1
//Whether to alternate or fire all together
AlternatePrimary True
AlternateSecondary True
//Firing modes. One of SemiAuto, FullAuto or Minigun
ModePrimary FullAuto
ModeSecondary FullAuto
//Add shoot origins. These are the points on your vehicle from which bullets / missiles / shells / bombs appear
ShootPointPrimary 130 29 0 turret
ShootPointSecondary 49 31 8 turret ADEN
ShootPointSecondary 49 31 13 turret ADEN
ShootParticlesPrimary largeexplode 6 0 0
ShootParticlesPrimary explode 0 0 0
ShootParticlesPrimary explode 0 0 0
ShootParticlesPrimary explode 0 0 0
ShootParticlesPrimary explode 0 0 0
ShootParticlesPrimary explode 0 0 0
ShootParticlesPrimary explode 0 0 0
ShootParticlesPrimary explode 1 0 0
ShootParticlesPrimary explode 1 0 0
ShootParticlesPrimary explode 1 0 0
ShootParticlesPrimary explode 1 0 0
ShootParticlesPrimary explode 1 0 0
ShootParticlesPrimary explode 1 0 0
ShootParticlesPrimary cloud 0 0 0
ShootParticlesPrimary cloud 0 0 0
ShootParticlesPrimary cloud 0 0 0
ShootParticlesPrimary cloud 0 0 0
ShootParticlesPrimary cloud 0 0 0
ShootParticlesPrimary cloud 0 0 0
ShootParticlesPrimary cloud 1 0 0
ShootParticlesPrimary cloud 1 0 0
ShootParticlesPrimary cloud 1 0 0
ShootParticlesPrimary cloud 1 0 0
ShootParticlesPrimary cloud 1 0 0
ShootParticlesPrimary cloud 1 0 0
ShootParticlesSecondary cloud 0 0 0
// ------------------------------------------------------ 
//Inventory Slots
CargoSlots 0
ShellSlots 5
//Driver and passenger positions
Driver 0 34 0 -360 360 -10 20
RotatedDriverOffset -11 0 10
//Turret rotation stuff
DriverAimSpeed 2 2 0
DriverYawBeforePitch false
DriverTraverseSounds true
YawSound TurretTraverse1
YawSoundLength 21
PitchSound TurretTraverse2
PitchSoundLength 20
Passengers 2
Passenger 1 0 28 0 turret -360 360 -15 40 m60 RCTurret
Passenger 2 37 3 0 core
RotatedPassengerOffset 1 -11 0 -10
PassengerAimSpeed 1 4 4 0
GunOrigin 1 -21 45 -1
//Secondary gun
//Delays are in ticks or 1/20ths of seconds
ShootDelay 1
ShellDelay 70
AllowAllAmmo False
AddAmmo HESH
AddAmmo APFSDS
AddAmmo ShellNATO120mmDM53LKE
AddAmmo ShellNATO120mmDM43KE
AddAmmo ShellNATO120mmDM11HE
//Sounds
StartSound ChallengerIdle
StartSoundLength 40
EngineSound ChallengerRun
EngineSoundLength 40
ShootSoundPrimary M1fire
ShootSoundSecondary M60Shoot
//Recipe
//Each section of the plane may have many parts
//The sections are tailWheel, tail, bay, topWing, leftWingWheel, leftWing, rightWingWheel,
//rightWing, nose, turret, coreWheel, core
AddRecipeParts turret 1 tankTurret
AddRecipeParts core 1 advancedTankBody 1 vehicleSeat 12 iron 6 ERA 6 Chobham
AddRecipeParts leftTrack 1 catTrack
AddRecipeParts rightTrack 1 catTrack
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
AddDye 10 gray
//Health and collision
SetupPart core 100 -79 0 -34 142 24 68
SetupPart turret 100 -52 24 -29 90 14 58
SetupPart rightTrack 100 -69 -10 -31 135 19 12
SetupPart leftTrack 100 -69 -10 19 135 19 12
SetUpPart trailer 1 -91 -10 -38 180 66 76
BulletDetection 7
TrackFrames 3
RotateWheels true
Harvester true
HarvestToolType Tank
HarvestBox [180,66,76] [-91,-10,-38]
IsExplosionWhenDestroyed true
CollisionDamageEnable true
CollisionDamageThrottle 0.21
CollisionDamageTimes 0
